<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CryptoChat.Models.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    CreateProfile
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        CreateProfile</h2>
    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>
    <form method="post" enctype="multipart/form-data" action="/Profile/Create">
    <fieldset>
        <legend>Fields</legend>
        <p>
            <label for="ScreenName">
                ScreenName:</label>
            <%= Html.TextBox("ScreenName") %>
        </p>
        <p>
            <label for="Avatar">
                Avatar:</label>
            <input id="AvatarFile" type="file" />
        </p>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
    </form>
    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>
</asp:Content>
